package com.guigu.Thread2;

public class HomeWork1Test {
	public static void main(String[] args) {
		A a = new A();
		a.start();
	}

}

class A extends Thread
{
	private boolean loop = true;
	@Override
	public void run() {
		while(loop)
		{
			System.out.println((int)Math.random()*100+1);
		}
	}
}